<script setup lang="ts">
import { ref, reactive, computed, onMounted } from 'vue';

interface Car {
  money?: number;
  car?: string;
}

// 在 Vue 3.5+ 版本，可通过解构赋值设置默认值
const { car = 'BYD' } = defineProps<Car>()

</script>

<template>
  <div>
    <div class="breadcrumb">
      <span>{{car}}</span>
      <span>/</span>
      <span>{{money}}</span>
    </div>
  </div>
</template>

<style scoped>
  
</style>